home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Content Filter / Proxomitron.exe / file0009.bin < prev    next >
Encoding:
Text File  |  1999-10-17  |  3.3 KB  |  172 lines

  1. ##
  2. ## Proxomitron Config File
  3. ##
  4.  
  5. [Global]
  6. Enable = TRUE
  7. FreezeGIF = TRUE
  8. FilterHTML = TRUE
  9. FilterHeadersOut = TRUE
  10. FilterHeadersIn = TRUE
  11. EnableProxy = FALSE
  12. EnableAutoRun = FALSE
  13. ForceTextures = FALSE
  14. NoTextures = FALSE
  15. SysTray = TRUE
  16. Back.BMP = "..\Textures\FlatBlack.BMP"
  17. Inset.BMP = "..\Textures\bbuble.BMP"
  18. Face2.BMP = "..\Textures\DarkWood.BMP"
  19. Button.BMP = "..\Textures\BluGrayButton.BMP"
  20. Port = 8080
  21.  
  22. [HTTP headers]
  23. In = FALSE
  24. Out = TRUE
  25. Key = "Accept-encoding: prevent webpage encoding (out)"
  26. Match = "*"
  27.  
  28. In = TRUE
  29. Out = FALSE
  30. Key = "Content-Type: Fix Javascript mime types"
  31. URL = "*.js(^?)"
  32. Match = "text/plain"
  33. Replace = "text/javascript"
  34.  
  35. In = TRUE
  36. Out = FALSE
  37. Key = "Content-Type: Fix MIDI mime types"
  38. URL = "*.mid((^?)|#)"
  39. Match = "text/plain"
  40. Replace = "audio/mid"
  41.  
  42. In = TRUE
  43. Out = FALSE
  44. Key = "Content-Type: Fix MP3 mime types"
  45. URL = "*.mp3((^?)|#)"
  46. Match = "text/plain"
  47. Replace = "audio/x-mpeg"
  48.  
  49. In = FALSE
  50. Out = FALSE
  51. Key = "Content-Type: Kill all images"
  52. Match = "image/*"
  53. Replace = "Image killed\k"
  54.  
  55. In = FALSE
  56. Out = FALSE
  57. Key = "Cookie: (Out)"
  58. Match = "*"
  59.  
  60. In = FALSE
  61. Out = FALSE
  62. Key = "Forwarded:"
  63. Replace = "\h"
  64.  
  65. In = FALSE
  66. Out = FALSE
  67. Key = "If-Modified-Since: Always reload pages (Out)"
  68. Match = "*"
  69.  
  70. In = FALSE
  71. Out = FALSE
  72. Key = "Last-Modified: (In)"
  73. Match = "*"
  74.  
  75. In = FALSE
  76. Out = FALSE
  77. Key = "Pragma: Don't force reloads"
  78. Match = "no-cache"
  79.  
  80. In = FALSE
  81. Out = TRUE
  82. Key = "Referer: Hide where we've been (Out)"
  83. Match = "*"
  84. Replace = "\u"
  85.  
  86. In = FALSE
  87. Out = FALSE
  88. Key = "Set-cookie: Never accept cookies (In)"
  89. Match = "*"
  90.  
  91. In = FALSE
  92. Out = FALSE
  93. Key = "URL-Killer: kill image URLs (out)"
  94. URL = "*.(jpeg|jpg|gif|png)"
  95. Replace = "This connection has been axed\k"
  96.  
  97. In = FALSE
  98. Out = TRUE
  99. Key = "User-Agent:"
  100. Match = "*"
  101. Replace = "SpaceBison/0.01 [fu] (Win67; X; ShonenKnife)"
  102.  
  103. In = FALSE
  104. Out = FALSE
  105. Key = "X-Forwarded-For:"
  106. Replace = "255.255.255.255, \h"
  107.  
  108.  
  109. [Patterns]
  110. Name = "Image UnMapper"
  111. Active = TRUE
  112. Bounds = "<area*>"
  113. Limit = 256
  114. Match = "*href=(\w)\0*&*href=\w([-_~0-9.a-z]+)\1(/|)[ ">]*"
  115. Replace = "<font size=2><a href=\0 >\1</a></font>"
  116.  
  117. Name = "Link textifier"
  118. Active = TRUE
  119. Bounds = "<a\s*</a>"
  120. Limit = 256
  121. Match = "*href=(\w)\0*<img(*alt="\1"|)*>*"
  122. Replace = "<center><font size=1><a href=\0 >[\1]</a></font></center>"
  123.  
  124. Name = "Background killer"
  125. Active = TRUE
  126. Limit = 100
  127. Match = "background=\w"
  128.  
  129. Name = "Image killer"
  130. Active = TRUE
  131. Bounds = "<(img|image)\s*>"
  132. Limit = 256
  133. Match = "<(img|image)\s * src=(\w)\2 *>&(*alt="\1"|)*"
  134. Replace = "<font size=1><a href=\2 >\1</a></font>"
  135.  
  136. Name = "De-Colorizer"
  137. Active = FALSE
  138. Limit = 128
  139. Match = "bgcolor=|color=|([va]|)link=|text=|style="
  140.  
  141. Name = "Ad-Script killer"
  142. Active = TRUE
  143. Bounds = "<script\s*</script>|<noscript>*</noscript>"
  144. Limit = 4096
  145. Match = "*(src=|<img)*"
  146. Replace = "<!-- Script Killed -->"
  147.  
  148. Name = "AllScript killer"
  149. Active = FALSE
  150. Limit = 100
  151. Match = "<(/|)\1(noscript|script)"
  152. Replace = "<\1DeadScript"
  153.  
  154. Name = "Supress JavaScript errors"
  155. Active = TRUE
  156. Limit = 800
  157. Match = "<start>"
  158. Replace = "<script>"
  159.           "function NoErr(){return(true);}"
  160.           "window.onerror=NoErr;"
  161.           "</script>\n"
  162.  
  163. Name = "Java applet killer"
  164. Active = TRUE
  165. Limit = 800
  166. Match = "<applet*</applet>"
  167.  
  168.  
  169. [Proxies]
  170.  
  171.  
  172.